package com.jwater.core.manager.common.model;

/**
 * @description: 主机节点信息
 * @author: jnner
 * @createDate: 2021/2/5
 * @version: 1.0
 */
public class NodeInfo {
    private String groupName;
    private String nodeName;
    private String host;
    private int port;
    private String username;
    private String password;
    private String type;
    private String path;
    private String ssh;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getSsh() {
        return ssh;
    }

    public void setSsh(String ssh) {
        this.ssh = ssh;
    }

    @Override
    public String toString() {
        return "NodeInfo [groupName=" + groupName + ", nodeName=" + nodeName + ", host=" + host + ", port=" + port
                + ", username=" + username + ", password=" + password + ", type=" + type + ", path=" + path + "]";
    }
}
